﻿using System.Windows;
using System.Windows.Controls;

namespace Com.Lancetinc.Evs.Controls
{
    public class LevsCard : ContentControl
    {
        public static readonly DependencyProperty CornerRadiusProperty =
            Border.CornerRadiusProperty.AddOwner(typeof(LevsCard));

        public CornerRadius CornerRadius
        {
            get => (CornerRadius)GetValue(CornerRadiusProperty);
            set => SetValue(CornerRadiusProperty, value);
        }

        static LevsCard()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(LevsCard), new FrameworkPropertyMetadata(typeof(LevsCard)));
        }

        public LevsCard()
        {
            IsTabStop = false;
            Focusable = false;
            FocusVisualStyle = null;
        }
    }
}